module ("Player", package.seeall)


function PlayerInstance()
	
	local player = display.newImage("Assets/char.png");
	
	function player:Position()
		self.x = 64
		self.y = 64
	end
	function player:SetPhysics()
		physics.addBody(self, "dynamic, friction = 0.3, bounce = 0, density = 5")
		self.isBullet = true;
		self.isFixedRotation = true;
	end
	return player
end